package com.hrm.service;

import com.hrm.pojo.Dept;

import java.util.ArrayList;
import java.util.List;

public interface DeptService {
    List<Dept> findAllLikeName(Integer pageNum, Integer pageSize,String dept) throws Exception;
    List<Dept> findAll() throws Exception;
    boolean addDept(Dept dept);

    boolean deleteDept(ArrayList<Integer> deptIdList) throws Exception;

    boolean updateDept(Dept dept);

    Dept findById(Integer id);
}
